﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace KGE.Tools
{
    public partial class Loader : Form
    {
        public Loader()
        {
            InitializeComponent();
        }

        public void open(string fn)
        {
            if (fn == string.Empty)
            {
                return;
            }
            if (System.IO.Path.GetExtension(fn).ToLower() == ".kca")
            {
                am.open(fn);
            }
        }
        CharacterActionMaker am = new CharacterActionMaker();
        private void button1_Click(object sender, EventArgs e)
        {
            am.ShowDialog();
        }
        SceneMaker sm = new SceneMaker();
        private void button2_Click(object sender, EventArgs e)
        {
            sm.ShowDialog();
        }
        KMovieMaker km = new KMovieMaker();
        private void button3_Click(object sender, EventArgs e)
        {
            km.ShowDialog();
        }
    }
}
